//引入刚才的http.js文件
import https from './http.js';

//设置个对象，就不用一个个暴露了，直接暴露对象
let apiFun = {};

apiFun.getProductDetail = function (params) {
    return https.get('/abeProduct/selectByProductId', params)
}

apiFun.uploadFile = function (params) {
    return https.upload('/abeProduct/selectLitByProductId', params)
}

//暴露出这个对象
export default apiFun;

